package com.pd.modules.client.dialogs;

import java.awt.BorderLayout;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.border.TitledBorder;
import javax.swing.JSeparator;

@SuppressWarnings("serial")
public class DialogAbout extends JDialog
{
	private final JPanel contentPanel = new JPanel();

	/**
	 * Create the dialog.
	 */
	public DialogAbout()
	{
		setResizable(false);
		setModal(true);
		setModalityType(ModalityType.DOCUMENT_MODAL);
		setBounds(100, 100, 449, 252);
		getContentPane().setLayout(new BorderLayout());
		contentPanel.setBorder(new EmptyBorder(5, 5, 5, 5));
		getContentPane().add(contentPanel, BorderLayout.CENTER);
		contentPanel.setLayout(new BorderLayout(0, 0));
		{
			JPanel panel = new JPanel();
			panel.setBorder(new TitledBorder(null, "", TitledBorder.LEADING, TitledBorder.TOP, null, null));
			panel.setLayout(null);
			contentPanel.add(panel);
			{
				JLabel label = new JLabel("DEIS-ISEC 2011/2012");
				label.setFont(new Font("Tahoma", Font.BOLD, 14));
				label.setBounds(135, 30, 194, 14);
				panel.add(label);
			}
			{
				JLabel label = new JLabel("No \u00E2mbito da Unidade Curricular de Programa\u00E7\u00E3o Distribu\u00EDda");
				label.setFont(new Font("Tahoma", Font.PLAIN, 13));
				label.setBounds(44, 55, 360, 25);
				panel.add(label);
			}
			{
				JLabel label = new JLabel("a21180276 - Filipe Brand\u00E3o");
				label.setFont(new Font("Tahoma", Font.PLAIN, 14));
				label.setBounds(135, 175, 167, 17);
				panel.add(label);
			}
			{
				JLabel label = new JLabel("a21190062 - Avelino Martins");
				label.setFont(new Font("Tahoma", Font.PLAIN, 14));
				label.setBounds(135, 147, 174, 17);
				panel.add(label);
			}
			{
				JLabel label = new JLabel("TRABALHO DESENVOLVIDO POR:");
				label.setFont(new Font("Tahoma", Font.PLAIN, 16));
				label.setBounds(95, 116, 247, 20);
				panel.add(label);
			}
			
			JSeparator separator = new JSeparator();
			separator.setBounds(39, 94, 365, 2);
			panel.add(separator);
		}
	}
}
